<script src="/javascripts/calendar.js"></script>
<link href="/stylesheets/awesome-form.css" rel="stylesheet" type="text/css" media="all" />

<h1>Signup</h1>
<br/>

<form class="awesome" method="post" action="" enctype="multipart/form-data">
<span class="error"><%=flash[:warning]%> </span>
<span class="error"><%=flash[:notice]%></span>
<label for="user_login">Choose a name</label><input name="login" value="<%=params[:login]%>" style="width:160px" />
<br/>
<p class="desc">Name must be only letters and/or numbers; no spaces.</p>
<label for="user_password">Choose a password </label><input type="password" name="password"  value="<%=params[:password]%>" />
<br/>
<p class="desc">must be at least 5 characters</p>
<label for="user_password_confirmation">Password Confirmation </label><input type="password" name="password_confirmation" value="<%=params[:password_confirmation]%>" />
<br/>
<p class="desc">must match the password</p>
<label for="user_email">Your email </label><input name="email" value="<%=params[:email]%>" />
<br/>
<p class="desc">This is used for notification and password reset.</p>
<label for="location">What's your zipcode? </label>
<input type="text" name="location" id="location" value="<%=params[:location]%>" style="width:140px" />
<br/>
<input name="referer" type="hidden" value="<%= @referer %>" />
<input type="submit" value="Signup" style="width:100px" />
</form>

<br>
<h1>Alternatives</h1>
You can also signup with an <a href="/user/openid_signup">openid login by going here<a/>.